Skip to content

Lower JDK version for modules not using ffm#708

Merged
ktoso merged 2 commits intoswiftlang:mainfrom
ktoso:wip-lower-jdk-versions-on-non-ffm-modules
Apr 17, 2026
Merged

Lower JDK version for modules not using ffm#708
ktoso merged 2 commits intoswiftlang:mainfrom
ktoso:wip-lower-jdk-versions-on-non-ffm-modules

Conversation

@ktoso
Copy link
Copy Markdown
Collaborator

@ktoso ktoso commented Apr 17, 2026

We accidentally required JDK25 in the build for no reason including for
the core module.

The bytecode is Java11, and we use JDK17 at least to build for swiftKitCore.

We automatically detect JDK25, and if detected, we build the ffm modules
as well. The FFM modules have ofc the expected higher JDK requirement.

ktoso added 2 commits April 17, 2026 10:50
We accidentally required JDK25 in the build for no reason including for
the core module.

The bytecode is Java11, and we use JDK17 at least to build.

We automatically detect JDK25, and if detected, we build the ffm modules
as well. The FFM modules have ofc the expected higher JDK requirement.
@ktoso ktoso merged commit 41fc310 into swiftlang:main Apr 17, 2026
126 of 128 checks passed
@ktoso ktoso deleted the wip-lower-jdk-versions-on-non-ffm-modules branch April 17, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant